package com.nlgc365.designpattern.Chapter04_Pattern.Struct.P01_Proxy.DynamicProxy;

/**
 * For test
 */
public class Application {
    public static void main(String[] args) {
        ISomeService serviceA = new ConcernSomeServiceA();
        ISomeService serviceB = new ConcernSomeServiceB();
        SomeServiceProxy proxy = new SomeServiceProxy();
        proxy.getProxy(serviceA).service();
        proxy.getProxy(serviceB).service();
    }
}
